class Outer{
    public boolean e() {
        class b{
            public void v(){
                System.out.println("hello world");
            }
        }
        b b1=new b();
        b1.v();
        return true;
    }
}
interface gT{
     void sy();
}
public class Main {
    public static void main(String[] args) {
        Outer outer = new Outer();
        outer.e();
        gT g = new gT() {
            @Override
            public void sy() {
                System.out.println("kgbu");
            }
        };
        g.sy();
    }
}